package com.andova.cameraview.detector;

import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@IntDef({
        Error.ERROR_CAMERA_OPENED, Error.ERROR_NO_PERMISSION,
        Error.ERROR_SINGLE_CAMERA, Error.ERROR_OPEN,
        Error.ERROR_PIXEL_LIMIT, Error.ERROR_START
})
@Retention(RetentionPolicy.SOURCE)
public @interface Error {
    int ERROR_SINGLE_CAMERA = -9;
    int ERROR_CAMERA_OPENED = -2;
    int ERROR_NO_PERMISSION = -3;
    int ERROR_OPEN = -4;
    int ERROR_PIXEL_LIMIT = -5;
    int ERROR_START = -6;
}